package com.example.logdemo.service;

import com.example.logdemo.log.Loggable;
import org.springframework.stereotype.Service;

/**
 *
 *
 * @author zhiyuan
 * @date 2025/10/28
 */
@Service
public class DemoService {

    @Loggable(tag = "biz:echo", logArgs = true, logResult = true)
    public String echo(String text, String password) {
        // pretend to do some work
        return "echo:" + text;
    }
}
